package entities;

import java.io.Serializable;
import java.util.Date;
import basic.BaseEntity;
import basic.FieldMeta;

public class TSc extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@FieldMeta(primary = true, name = "编号", description = "编号", column = "sc_no", require = true, range = true, length = 32, order = 0)
	private String scNo;

	public String getScNo() {
		return scNo;
	}

	public void setScNo(String scNo) {
		this.scNo = scNo;
	}

	@FieldMeta(name = "关联卡号", description = "关联卡号", column = "crd_no", require = true, length = 32, order = 1)
	private String crdNo;

	public String getCrdNo() {
		return crdNo;
	}

	public void setCrdNo(String crdNo) {
		this.crdNo = crdNo;
	}

	@FieldMeta(name = "关联交易号", description = "关联交易号", column = "txn_no", require = true, length = 32, order = 2)
	private String txnNo;

	public String getTxnNo() {
		return txnNo;
	}

	public void setTxnNo(String txnNo) {
		this.txnNo = txnNo;
	}

	@FieldMeta(name = "类型", description = "类型", column = "sc_type", require = true, length = 50, order = 3)
	private String scType;

	public String getScType() {
		return scType;
	}

	public void setScType(String scType) {
		this.scType = scType;
	}

	@FieldMeta(name = "付款金额", description = "付款金额", column = "sc_amount", require = true, order = 4)
	private Double scAmount;

	public Double getScAmount() {
		return scAmount;
	}

	public void setScAmount(Double scAmount) {
		this.scAmount = scAmount;
	}

	@FieldMeta(name = "状态", description = "状态", column = "sc_state", require = true, length = 1, order = 5)
	private String scState;

	public String getScState() {
		return scState;
	}

	public void setScState(String scState) {
		this.scState = scState;
	}

	@FieldMeta(name = "发生日期", description = "发生日期", column = "sc_date", require = true, range = true, order = 6)
	private Date scDate;

	public Date getScDate() {
		return scDate;
	}

	public void setScDate(Date scDate) {
		this.scDate = scDate;
	}

	@FieldMeta(name = "备注", description = "备注", column = "sc_remark", length = 1000, order = 7)
	private String scRemark;

	public String getScRemark() {
		return scRemark;
	}

	public void setScRemark(String scRemark) {
		this.scRemark = scRemark;
	}

}